drop redundant TARGETS files that duplicate sister BUCK files (#20403)#20403
drop redundant TARGETS files that duplicate sister BUCK files (#20403)#20403bigfootjon wants to merge 1 commit into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20403
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New Failure, 1 Unrelated Failure, 1 Unclassified FailureAs of commit 00f371f with merge base 6f6225c ( NEW FAILURE - The following job has failed:
UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@bigfootjon has exported this pull request. If you are a Meta employee, you can view the originating Diff in D109082060. |
This PR needs a
|
There was a problem hiding this comment.
Pull request overview
Removes redundant fbcode TARGETS files that duplicate their sibling BUCK files as part of the ongoing TARGETS→BUCK migration, relying on the name_v2 = TARGETS,BUCK fallback to keep behavior unchanged.
Changes:
- Deleted
TARGETSfiles that were byte-identical to the correspondingBUCKfile. - Deleted
TARGETSfiles that only performed a no-argdefine_common_targets()call that already exists in the correspondingBUCK. - No functional build target changes intended; this is a cleanup/deduplication step.
Reviewed changes
Copilot reviewed 38 out of 38 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| schema/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| schema/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| runtime/platform/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| runtime/platform/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| runtime/core/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| runtime/core/exec_aten/util/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| runtime/core/exec_aten/testing_util/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| runtime/core/exec_aten/testing_util/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| runtime/core/exec_aten/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| runtime/backend/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| runtime/backend/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| kernels/prim_ops/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| kernels/portable/cpu/util/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| kernels/portable/cpu/util/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| kernels/optimized/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| kernels/optimized/cpu/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/threadpool/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/threadpool/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/testing_util/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/testing_util/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/tensor/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/tensor/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/runner_util/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/pytree/aten_util/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/pytree/aten_util/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/image/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/image/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/image/benchmark/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/cuda/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/aten_util/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| extension/aten_util/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| examples/qualcomm/executor_runner/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| examples/devtools/example_runner/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| configurations/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| codegen/test/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| backends/qualcomm/builders/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
| backends/qualcomm/aot/wrappers/TARGETS | Removed redundant TARGETS; BUCK already calls define_common_targets() |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary: Pull Request resolved: #20403 Initial chunk of fbcode/executorch TARGETS->BUCK migration. Removes 40 TARGETS files where: - 7 are byte-identical to their sister BUCK file, OR - 33 contain only a no-arg `define_common_targets()` call matching a sister BUCK that also calls `define_common_targets()` with no args In both cases fbcode falls through to the BUCK file (via `name_v2 = TARGETS,BUCK`) and evaluates the exact same content it did before. Any TARGETS that passes any argument to define_common_targets (positional or keyword) is intentionally excluded — those are the `is_fbcode = True` cases that need a separate, more careful treatment. Reviewed By: mzlee Differential Revision: D109082060
d761926 to
00f371f
Compare
Summary:
Initial chunk of fbcode/executorch TARGETS->BUCK migration. Removes 40
TARGETS files where:
define_common_targets()call matchinga sister BUCK that also calls
define_common_targets()with no argsIn both cases fbcode falls through to the BUCK file (via
name_v2 = TARGETS,BUCK) and evaluates the exact same content it didbefore. Any TARGETS that passes any argument to define_common_targets
(positional or keyword) is intentionally excluded — those are the
is_fbcode = Truecases that need a separate, more careful treatment.Reviewed By: mzlee
Differential Revision: D109082060